package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: robert.song
 * @Date: Created in 2021/12/15
 */
@Mapper
public interface OrderDao {
//    新建订单
    void create(Order order);

    void update(@Param("userId")Long userId,@Param("status") Integer status);
}
